<template>
	<div>
		<el-table
			:data="info" 
			:header-cell-style="{ 'text-align': 'center' }" 
			:cell-style="{ 'text-align': 'center' }" 
			class="w-full"
		>
			<el-table-column prop="machine_id" :label="$t('machine.code')" show-overflow-tooltip />
			<el-table-column prop="machine_name" :label="$t('machine.name')" show-overflow-tooltip />
		</el-table>
	</div>
</template>

<script lang="ts" setup>
import { useI18n } from 'vue-i18n' 
const { t: $t } = useI18n()
	let props = defineProps({
		info: {
			// 主体数据
			type: Array,
			default: []
		}
	})
</script>
